package com.zsrt.java.day20161222.hzj;

import org.junit.Test;

public class LogicTest {
	
	@Test
	public void lg(){
		
		String xuewei ="本科";
	    int years = 5;
	    System.out.println(!("专科".equals(xuewei)&&years>10));
    
	}
	
	@Test
	public void lg1(){
		
		String xuewei ="本科 ";
		int year= 5;
		System.out.println(xuewei.equals("大专")||year>5);
	}
	
	@Test
	public void lg2(){
		
		int yw =59;
		int sx =90;
		
		boolean yq1 = yw>60;
		boolean yq2 = sx>90;
		
		boolean yq3 = yq1 && yq2;
		System.out.println(yq3);
		
	}
}
